﻿using mozhi.smarterp.Business.Localization;
using Volo.Abp.Authorization.Permissions;
using Volo.Abp.Localization;

namespace mozhi.smarterp.Business.Permissions;

public class BusinessPermissionDefinitionProvider : PermissionDefinitionProvider
{
    public override void Define(IPermissionDefinitionContext context)
    {
        var myGroup = context.AddGroup(BusinessPermissions.GroupName, L("Permission:Business"));
    }

    private static LocalizableString L(string name)
    {
        return LocalizableString.Create<BusinessResource>(name);
    }
}
